<?php
include("connection.php");
include("header.php");

?>

<form name="form1" method="post" action="contactus.php?action=send">
<table width="415" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFD8B0">
  <tr>
    <td colspan="2"><div align="center"><h2>SEND E-MAIL</h2> </div></td>
  </tr>
 
  <tr>
    <td><h4>Phone Nomber</h4></td>
    <td><input type="text" name="phoneno" value="0779194134"></td>
  </tr> 
   <tr>
    <td><h4>E-mail address</h4></td>
    <td><input type="text" name="email" value="mahanesh42@yahoo.com"></td>
  </tr>
 
 <tr>
    <td><h4>Subject</h4></td>
    <td><label>
      <input type="text" name="subject" value="" >
    </label></td>
  </tr>
  <tr>
    <td><h4>Message</h4></td>
    <td><textarea name="message" cols="30" rows="5"></textarea></td>
  </tr> 
  <tr>
    <td colspan="2"><label>
      <div align="center">
        <input type="submit" name="Submit2" value="send mail" />
      </div>
    </label></td>
  </tr>
</table>
</form>



<?php

if($_GET["action"]=="send")
{
	 $phoneno=$_POST["phoneno"];
	 $emailaddress=$_POST["email"];
	 $subject=$_POST["subject"];
	 $message=$_POST["message"];
 //mail( $emailaddress,$subject,$message )			  
  echo ("send your mail");
}
include("footer.php");
?>